//
//  InputToolbar.h
//  MoneyIndividual
//
//  Created by Le Anh Tai on 1/11/14.
//  Copyright (c) 2014 Le Anh Tai. All rights reserved.
//

#import "BaseView.h"

@protocol InputToolbarDelegate;
@class BorderButton;
@interface InputToolbar : BaseView
{
    BorderButton *_closeButton;
    BorderButton *_rightButton;
}

@property (nonatomic, weak) id<InputToolbarDelegate> toolbarDelegate;

- (void)addRightButtonWithTitle:(NSString*)rightTitle;
- (void)removeRightButton;

@end

@protocol InputToolbarDelegate <NSObject>

- (void)inputToolbarDidPressCloseButton:(InputToolbar*)toolbar;
- (void)inputToolbarDidPressRightButton:(InputToolbar*)toolbar;

@end